package com.recource.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.recource.constant.StaticConstant;
import lombok.Data;

import java.util.Date;

/**
 * @author yujie
 * @createTime 2023/1/9 15:00
 * @description
 */
@Data
public class ResourceVO {

    private Integer id;
    private String name;
    private String keyword;

    private String code;

    private String type;
    private String url;

    @TableField("time")
    @JsonFormat(pattern = StaticConstant.DATE_FORMAT, timezone = StaticConstant.GMT8)
    private Date time = new Date();

}
